package concurrency.chapter8;

/**
 * @author honway.liu
 * @date 2019-06-07 00:44
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
public class ClassA {

    private ClassB classB;

    public ClassA(ClassB classB) {
        this.classB = classB;
    }

    public void method() {
        classB.sayHi();
    }
}
